package edu.upb.acs.jobsmaps.database.task;

import android.os.AsyncTask;
import edu.upb.acs.jobsmaps.database.mysql.ExternalDatabaseHelper;
import edu.upb.acs.jobsmaps.entity.Company;

import java.util.Collection;

public class GetCompaniesTask extends AsyncTask<Void, Void, Collection<Company>> {
    @Override
    protected Collection<Company> doInBackground(Void... params) {
        return  ExternalDatabaseHelper.getCompanies();

    }
}
